<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.lanting.meetingserver.util.RecordList"%>
<%@page import="com.lanting.meetingserver.domain.*"%>
<%@page import="java.text.SimpleDateFormat"%>
<%
	SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
	RecordList<MeetingVoteInfo> list = (RecordList<MeetingVoteInfo>) request
			.getAttribute("data");

%>
<table id="notice-table" class="datalist  table_data_list"
	cellspacing="0" pageindex="<%=list.pageindex%>"
	pagesize="<%=list.pagesize%>" recordcount="<%=list.recordcount%>"
	cellpadding="0">
	<thead>
		<tr>
			<th>主题</th>
			<th >描述</th>
			<th class="last">编辑</th>
		</tr>
	</thead>
	<tbody>
		<%
			for (MeetingVoteInfo item : list.Data) {
		%>
		<tr>
			<td> <%=item.getSubject() %> </td>
			<td> <%=item.getVoteDesc() %> </td>
			<td class="last">
			<a class="EditItem cell_button edit trigger" rel="#tblVotesDlg"
				list="tblVotes" id="editVote-<%=item.getVoteId() %>"				
				href="MeetingVoteInfo/get?id=<%=item.getVoteId()%>">编辑</a> 
			<a
				class="DelItem cell_button del" list="tblVotes"
				href="MeetingVoteInfo/del?id=<%=item.getVoteId()%>">删除</a>
			</td>
		</tr>
		<%
			}
		%>
	</tbody>
</table>